package com.gec.teams.wechat.controller;

import com.gec.teams.wechat.common.utils.R;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;

/**
 * @author cr
 * @date
 * @@deprecated 测试web层
 */

@RestController
public class TestDemoController {


    @GetMapping("/testr")
    public R testr(String address,String username){
        HashMap<String,Object> map = new HashMap<>();
        map.put("address",address);
        map.put("username",username);
        return  R.ok(map);
    }
}
